<?php


namespace app\models;


use app\behaviors\Behaviors;
use yii\db\ActiveRecord;

class BaseModel extends ActiveRecord {
    public $pkid = 'id';

    public function __construct($config = []) {
        parent::__construct($config);
    }

    public function behaviors() {
        return array_merge(
            parent::behaviors(),
            [Behaviors::class]
        );
    }
}